﻿using System;


namespace advadev.CanOpen
{

    /// <summary>
    /// Represents a layer setting services switch state selective message
    /// received event argument
    /// </summary>
    public class LayerSettingServicesSwitchStateSelectiveMessageReceivedEventArgs
    {

        /// <summary>
        /// Initializes a new instance of the
        /// LayerSettingServicesSwitchStateSelectiveMessageReceivedEventArgs
        /// class by the given parameter
        /// </summary>
        /// <param name="vendorId">
        /// Vendor id
        /// </param>
        /// <param name="productCode">
        /// Product code
        /// </param>
        /// <param name="revisionNumber">
        /// Revision number
        /// </param>
        /// <param name="serialNumber">
        /// Serial number
        /// </param>
        public LayerSettingServicesSwitchStateSelectiveMessageReceivedEventArgs(uint vendorId, uint productCode, uint revisionNumber, uint serialNumber)
        {
            VendorId = vendorId;
            ProductCode = productCode;
            RevisionNumber = revisionNumber;
            SerialNumber = serialNumber;
        }


        /// <summary>
        /// Gets the received vendor id
        /// </summary>
        public uint VendorId
        {
            get;
            private set;
        }

        /// <summary>
        /// Gets the received product code
        /// </summary>
        public uint ProductCode
        {
            get;
            private set;
        }

        /// <summary>
        /// Gets the received revision number
        /// </summary>
        public uint RevisionNumber
        {
            get;
            private set;
        }

        /// <summary>
        /// Gets the received serial number
        /// </summary>
        public uint SerialNumber
        {
            get;
            private set;
        }

    }

}
